package com.heantai.easystruts.config;

import java.util.HashMap;
import java.util.Map;

public class ActionBean {
	private String path;
	private String type;
	private Map<String, ForwardBean> forwardBeans= new HashMap<String ,ForwardBean>();
	public void addForwardBean(ForwardBean forwardBean){
		forwardBeans.put(forwardBean.getName(), forwardBean);
	}
	public ForwardBean findForwardBean(String name){
		return forwardBeans.get(name);
	}
	public String getPath() {
		return path;
	}
	public String getType() {
		return type;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public void setType(String type) {
		this.type = type;
	}
}
